package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type WCGroupMatch struct {
	ID           int64
	MatchID      int64
	VenueName    string
	VenueNameEn  string
	GroupCode    string
	HomeTeamID   int64
	HomeTeamName string
	HomeTeamLogo string
	AwayTeamID   int64
	AwayTeamName string
	AwayTeamLogo string
	StatusID     int32
	TimePlayed   int64
	MatchTime    int64
	MatchDate    string
	HomeScores   int32
	AwayScores   int32
	CreatedAt    int64
	UpdatedAt    int64
}

func (WCGroupMatch) TableName() string {
	return fmt.Sprintf("%sworld_cup_match", models.Prefix)
}
